--- The following is OracleClient
The following describes how to access the Oracle database through the ASP. NET page through System. Data. OracleClient,
In fact, it is relatively simple,
First, let's introduce the environment,
My machine is
Today, we have been entangled in this issue for a long time. In fact, this is not the first time we have made such a mistake. We have recorded it today to prevent another mistake.
In general, it is because of the errors generated by the
1. System. Data. oracleclient and system. Data. oledb namespacesAlthough the classes in the two namespaces can access the Oracle database. data. the class efficiency of the sqlclient namespace is higher than that of the system. data. the class in
Connect using the system. Data. oracleclient. dll component:
First, configure the webconfig file;
Then you can add a reference to system. Data. oracleclient. DLL to write it on the page.CodeUsing system. Data. oracleclient;
Common
For a long time, I have been using ms SQL Server/Access database, through. Net Access Ms home things almost never encountered any trouble. Recently, I used oracle as a database in my project. I learned some things about. Net accessing Oracle and
For a long time, I have been using ms SQL Server/Access database, through. Net Access Ms home things almost never encountered any trouble. Recently, I used oracle as a database in my project. I learned some things about. Net accessing Oracle and
For a long time, I have been using ms SQL Server/Access database, through. Net Access MS home things almost never encountered any trouble. Recently, I used oracle as a database in my project. I learned some things about. Net accessing Oracle and
For a long time, I have been using ms SQL Server/Access database, through. Net Access Ms home things almost never encountered any trouble. Recently, I used oracle as a database in my project. I learned some things about. Net accessing Oracle and
1. system. Data. oracleclient and system. Data. oledb namespaces
AlthoughHowever, the Oracle database can be accessed through the classes in the two namespaces, but similar to SQL Server (system. Data. sqlclientThe namespace class efficiency is
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.